package com.example.mark.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mark.common.Result;
import com.example.mark.entity.Topic;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface TopicService extends IService<Topic> {
    Result getTopicList();
    Result getHotTopicList();
    Result publishTopic(Map<String, Object> requestParams);
    Result updateTopic(Map<String, Object> requestParams);
    Result deleteTopic(int topicId);
    Result uploadTopicPhoto(MultipartFile file);
    Result getTopicDetail(int topicId);
}
